package com.pd.pojo;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by dong peng
 * DATE : 2017/2/26
 * TIME : 22:15.
 */


public class ResponseVo {

    private String code;
    private String msg;
    private List<Map<String,Object>> retData = new ArrayList<Map<String, Object>>();

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void addRetData(Map map) {
        if(map != null) {
            retData.add(map);
        }
    }

    public void setRetData(List list) {
       if(list != null) {
           retData = list;
       }
    }

    public List<Map<String,Object>> getRetData() {
        return retData;
    }
}
